<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset = "UTF-8">
    <title>login</title>

    <style>
        .input_text {
            border:1px solid black;
            border-radius:3px;
            height: 25px;
        }

        .input_text.input_button{
            height: 30px;
            width: 180px;
            border: 0px;
            border-radius: 5px;
            color: white;
            background-color: #317EF3;
        }

        .wrap {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -55%);
            padding: 30px;
            background-color: rgba(255, 255, 255, 0.6); /* 设置背景颜色并添加透明度 */
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* 添加阴影效果 */
        }

        strong{
            font-size: 30px;
        }
        tr{
            height: 60px;
        }
        body{
            background: url(img/coffee.jpg)  no-repeat center 0px;
            background-size: cover;
            background-attachment: fixed;
        }
    </style>
</head>
<body>
<div class="wrap">
    <form action="check_login.jsp">
        <table border="0" cellspacing="0" cellpadding="5">
            <tbody>
            <tr>
                <td colspan="2" align="center">
                    <strong>用户登录</strong>
                </td>
            </tr>
            <tr>
                <td>用户名</td>
                <td><input class="input_text" type="text" name="user" id="user"/></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input class="input_text" type="password" name="password" id="password"/></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input class="input_text input_button" type="submit" value="登录">
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>
</body>
</html>